<div class="clientes index">
<h2><?php echo('Roles'); ?></h2>


<table cellpadding="0" cellspacing="0">
	<tr>
	   <th>ID</th>
		<th>Descripcion</th>
		<th>estado</th>
		
		<th>Accion</th>
		
	</tr>
	

	<?php foreach($roles as $role):?>
	<tr>

		<td><?php echo $role['Role']['id']?></td>
			<td><?php echo $role['Role']['descripcion']?></td>
					<td><?php echo $role['Role']['estado']?></td>
		
		<td class="actions">
			<?php echo $this->Html->link(__('Ver'), array('action' => 'view', $role['Role']['id']), array('class'=>'view')); ?>
			<?php echo $this->Html->link(__('Editar'), array('action' => 'edit',$role['Role']['id']), array('class'=>'edit')); ?>
			<?php echo $this->Form->postLink(__('Eliminar'), array('action' => 'delete', $role['Role']['id']), array('class'=>'delete'), __('Desea Eliminar?')); ?>
			</td>
	</tr>
<?php endforeach?>	
	</table>
	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('anterior'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('siguiente') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
	</div>
	
	
<div class="actions">
	<h3><?php echo __('   Menú'); ?></h3>
	<ul>
	<li><?php echo $this->Html->link( "Nuevo",   array('action'=>'add') ); ?></li>

	<li><?php echo $this->Html->link( "Atras",   array('action'=>'index') ); ?></li>

	
</ul>
</div>
